package com.dmcliver.timetracker.session;

import com.dmcliver.timetracker.entity.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("timeentryList")
public class TimeentryList extends EntityQuery<Timeentry> {

	private static final String EJBQL = "select timeentry from Timeentry timeentry";

	private static final String[] RESTRICTIONS = {};

	private Timeentry timeentry = new Timeentry();

	public TimeentryList() {
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public Timeentry getTimeentry() {
		return timeentry;
	}
}
